#!/usr/bin/env python
# coding=utf-8
# __author__ = 'Yunchao Ling'

import sys
import os

filename=sys.argv[1]
root_path=sys.argv[2]

infile=open(filename,'r')
for line in infile:
    line=line.rstrip()
    path=line.split("\t")[0]
    if not os.path.exists(root_path+"/"+path):
        print line
infile.close()